package com.example.exercise.demo.dao.entity;

import java.sql.Timestamp;

/**
 * 
*/
public class AppPapersEntity {
    /**
     *主键
     */
    private Integer id;

    /**
     *浏览量
     */
    private Integer scanCount;

    /**
     *用户id
     */
    private Integer userId;

    /**
     *标题
     */
    private String title;

    /**
     *内容
     */
    private String context;

    /**
     *发帖时间
     */
    private Timestamp createTime;

    /**
     *帖子状态：0未发布，1发布
     */
    private Integer status;

    /**
     *是否发布到首页
     */
    private Integer ifHomepage;

    /**
     *帖子类型 - 产品、技术、新闻等
     */
    private String kindType;

    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id = id;
    }
    public Integer getScanCount(){
        return scanCount;
    }
    public void setScanCount(Integer scanCount){
        this.scanCount = scanCount;
    }
    public Integer getUserId(){
        return userId;
    }
    public void setUserId(Integer userId){
        this.userId = userId;
    }
    public String getTitle(){
        return title;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getContext(){
        return context;
    }
    public void setContext(String context){
        this.context = context;
    }
    public Timestamp getCreateTime(){
        return createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public Integer getStatus(){
        return status;
    }
    public void setStatus(Integer status){
        this.status = status;
    }
    public Integer getIfHomepage(){
        return ifHomepage;
    }
    public void setIfHomepage(Integer ifHomepage){
        this.ifHomepage = ifHomepage;
    }
    public String getKindType(){
        return kindType;
    }
    public void setKindType(String kindType){
        this.kindType = kindType;
    }

}
